<!--
* writer: 姜
* create date: 2018年6月15日
* rewriter:
* rewrite date:
* description:附近农场
· -->

<!doctype html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../css/base.css" />
</head>

<body>
    <div id="app">

    </div>
</body>

</html>

<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/vue.js"></script>
<script type="text/javascript">
    // 获取最新消息
    // function unread_msg(name) {
    //     vm.unread_msg = name
    // }

    var vm = new Vue({
        el: '#app',
        data: {
        },
        methods: {

        }
    });

    apiready = function() {
			api.parseTapmode()
			api.openFrame({
					name: 'open_video_frm',
					url: 'open_video_frm.html',
					bounces: true,
					slidBackEnabled:false,
					pageParam:{
						files:api.pageParam.files
					},
					rect: {
							x: 0,
							y: 0,
							w: api.winWidth,
							h: api.winHeight
					}
			});
			// 监听返回事件
			if (api.systemType == 'android') {
				api.addEventListener({
					name: 'keyback'
				}, function(ret, err) {
						//closeWin();
						api.setFullScreen({
								fullScreen: false
						});
						api.setScreenOrientation({ orientation: 'portrait_up' });
				});
			}




    }
</script>
